package com.tedu.bill.demo3;

/**
 * Author：毕龙
 * Date: 2024/5/24 14:12
 */
public class MyThread extends Thread{
    public MyThread(String name) {
        super(name);
    }

    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println(Thread.currentThread().getName()+"\t优先级"+
                    Thread.currentThread().getPriority()+"\t"+i);
        }
    }
}
